package com.yvtian.om.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (om_order)表实体类
 *
 * @author long
 * @since 2024-05-27 08:57:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "om_order")
public class OmOrderEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 编码
     */
    @TableField(value = "code")
    private String code;
    /**
     * 订单名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 订单日期
     */
    @TableField(value = "order_time")
    private Date orderTime;
    /**
     * 计划送货日期
     */
    @TableField(value = "plan_give_time")
    private Date planGiveTime;
    /**
     * 客户名称
     */
    @TableField(value = "cu_name")
    private String cuName;
    /**
     * 客户编码
     */
    @TableField(value = "cu_code")
    private String cuCode;
    /**
     * 销售员
     */
    @TableField(value = "sell_name")
    private String sellName;
    /**
     * 总金额
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 计划收款日期
     */
    @TableField(value = "amount_date")
    private Date amountDate;
    /**
     * 所属项目
     */
    @TableField(value = "project_code")
    private String projectCode;
    /**
     * 所属项目名称
     */
    @TableField(value = "project_name")
    private String projectName;
    /**
     * 0:未审核，1已审核
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 审核人员
     */
    @TableField(value = "check_name")
    private String checkName;
    /**
     * 审核人员ID
     */
    @TableField(value = "check_user")
    private String checkUser;
    /**
     * 审核时间
     */
    @TableField(value = "check_time")
    private Date checkTime;
    /**
     * 0:未删除，1已删除
     */
    @TableField(value = "is_del")
    private Integer isDel;
    @TableField(value = "del_time")
    private Date delTime;
    @TableField(value = "del_name")
    private String delName;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "create_name")
    private String createName;
    @TableField(value = "create_user")
    private String createUser;
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "update_name")
    private String updateName;
    @TableField(value = "update_user")
    private String updateUser;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    @TableField(exist = false)
    private ArrayList<OmOrderShopEntity> omOrderShopList;

}

